package com.xjtu.vo.medication;


import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class MedicationDetailVo {
    private Integer id;
    /**
     * 老人的id
     */
    private Integer elderlyId;
    /**
     * 药名
     */
    private String elderlyName;


    private String medicationName;
    /**
     * 服药频率
     */
    private Integer frequency;
    /**
     * 剩余的药物数量
     */
    private Integer remain;
    /**
     * 上次服用时间，用来生成下次的提醒
     */
    private LocalDateTime lastTake;
    /**
     * 备注
     */
    private String remark;
}
